const fs = require('fs')
const http = require('http')


http.createServer((req, res) => {


  const myUrl = new URL(res.url, 'http://127.0.0.1')

  res.writeHead({
    'Content-Type': 'application/x-javasrcipt;charset=utf-8',
    'Access-Control-Allow-Origin': '*'
    // 'Content-Encoding': 'gzip',

  })



}).listen(3000, () => {
  console.log('server is running: 3000')
})


